package xyz.xmh.pattern.behavioral.mementopattern;

/**
 * @author Administrator
 * <p>
 * 存档、备忘录类
 */
public class Memento {

    /**
     * 状态
     */
    private final String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
